package com.ssm.admin.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ssm.common.utils.PageUtils;
import com.ssm.common.utils.Query;

import com.ssm.admin.dao.SsmSyTypeDao;
import com.ssm.admin.entity.SsmSyTypeEntity;
import com.ssm.admin.service.SsmSyTypeService;


@Service("ssmSyTypeService")
public class SsmSyTypeServiceImpl extends ServiceImpl<SsmSyTypeDao, SsmSyTypeEntity> implements SsmSyTypeService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SsmSyTypeEntity> page = this.page(
                new Query<SsmSyTypeEntity>().getPage(params),
                new QueryWrapper<SsmSyTypeEntity>()
        );

        return new PageUtils(page);
    }

}